class CreateTrafficViolations < ActiveRecord::Migration
  def change
    create_table :traffic_violations do |t|
      t.datetime :voilated_at
      t.text :location
      t.text :action
      t.string :code
      t.integer :deduction
      t.integer :fine_amount
      t.boolean :handled

      t.timestamps null: false
    end
  end
end
